Skip to content

Upgrade to .NET 10 and migrate CI to GitHub Actions (closes #30, #31, #32)#38

Merged
DaraOladapo merged 9 commits into
mainfrom
feature/upgrade-main-to-latest-dotnet
May 17, 2026
Merged

Upgrade to .NET 10 and migrate CI to GitHub Actions (closes #30, #31, #32)#38
DaraOladapo merged 9 commits into
mainfrom
feature/upgrade-main-to-latest-dotnet

Conversation

@DaraOladapo

@DaraOladapo DaraOladapo commented May 17, 2026

Copy link
Copy Markdown
Owner

Summary

Package upgrades (test project)

Package Before After
Microsoft.NET.Test.Sdk 16.6.1 18.5.1
xunit 2.4.1 2.9.3
xunit.runner.visualstudio 2.4.1 3.1.5
coverlet.msbuild 2.8.1 10.0.0
coverlet.collector 1.2.1 10.0.0

GitHub Actions workflow (.github/workflows/ci.yml)

  • Triggers on push to any branch and on PRs targeting main
  • Matrix build across ubuntu-latest, windows-latest, macos-latest
  • Stages: restore → build → test → coverage report → artifact upload
  • Separate publish job runs only on push to main, pushes to NuGet via NUGET_API_KEY secret

Note: Add NUGET_API_KEY to repository secrets before merging to enable NuGet publish.

Test plan

  • dotnet restore — succeeds with no errors
  • dotnet build — succeeds with 0 warnings, 0 errors
  • dotnet test — 21/21 tests pass
  • azure-pipelines.yml removed
  • README badge updated to GitHub Actions

🤖 Generated with Claude Code

DaraOladapo and others added 7 commits November 30, 2020 13:10
- Bump TargetFramework from netcoreapp3.1 to net10.0
- Update Microsoft.NET.Test.Sdk 16.6.1 → 18.5.1
- Update xunit 2.4.1 → 2.9.3
- Update xunit.runner.visualstudio 2.4.1 → 3.1.5
- Update coverlet.msbuild 2.8.1 → 10.0.0
- Update coverlet.collector 1.2.1 → 10.0.0
- Remove deprecated DotNetCliToolReference for dotnet-reportgenerator-cli
- Convert all async void test methods to async Task (xUnit1048)
- All 21 tests pass

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add .github/workflows/ci.yml with matrix build on ubuntu, windows, macos
- Replicate all pipeline stages: restore, build, test, coverage, NuGet publish
- NuGet publish job runs only on push to main using NUGET_API_KEY secret
- Remove azure-pipelines.yml
- Replace Azure DevOps build badge with GitHub Actions badge in README

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@DaraOladapo DaraOladapo changed the title Upgrade to .NET 10 (closes #30, closes #31) Upgrade to .NET 10 and migrate CI to GitHub Actions (closes #30, #31, #32) May 17, 2026
DaraOladapo and others added 2 commits May 17, 2026 20:45
dotnet restore/build was failing because the .sln is in src/, not the repo root.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
coverlet.msbuild resolves CoverletOutput relative to the project file,
not the workspace root. Use github.workspace to anchor all paths.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

@DaraOladapo DaraOladapo left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR is good to go

@DaraOladapo DaraOladapo merged commit 7945258 into main May 17, 2026
10 checks passed
@DaraOladapo DaraOladapo deleted the feature/upgrade-main-to-latest-dotnet branch May 17, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant